const getters = {
  userInfo: (state) => state.user.userInfo,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  roles: (state) => state.user.roles,
  permissions: (state) => state.user.permissions,
  userId: (state) => state.user.userId,
  staffId: (state) => state.user.staffId,
  deptId: (state) => state.user.deptId,
  deptName: (state) => state.user.deptName,
  isLocked: (state) => state.user.isLocked,
  expireTime: (state) => state.user.expireTime,
  imeiCode: (state) => state.imei.imeiCode,
  upgradeStatus: (state) => state.specialWorkType.upgradeStatus,
  areaStatList: (state, getters) => getters['cockpit/areaStatList'],
  onLineCarList: (state, getters) => getters['cockpit/onLineCarList'],
  onLinePersonList: (state, getters) => getters['cockpit/onLinePersonList']
}
export default getters
